/***********************************************************************
 * Module:  DeviceApplicationUnitController.java
 * Author:  Administrator
 * Purpose: Defines the Class DeviceApplicationUnitController
 ***********************************************************************/

package ishitong.deviceManagement.controller;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/** @pdOid 7e30522d-0683-4d97-aa5e-d48ddeadab16 */
@Controller
public class DeviceApplicationUnitController extends ishitong.common.controller.ActionController {
   /** @pdOid 95da5c2e-edde-4042-b9ea-23914591fed5 */
   private static final String DAU_SCH = "/deviceManagement/deviceApplicationUnit/deviceApplicationUnitSearch";
   /** @pdOid 2b7da0e4-0451-47bd-8694-d535b0a5ecd6 */
   private static final String DAU_SCH_LST = "/deviceManagement/deviceApplicationUnit/deviceApplicationUnitSearchList";
   /** @pdOid cd1646cd-5d81-43be-b2c3-14b67f420ecc */
   private static final String DAU_VIW = "/deviceManagement/deviceApplicationUnit/deviceApplicationUnitView";
   /** @pdOid 00f26d93-fbd5-4c74-a5d2-aa3baf601e1e */
   private static final String DAU_EDT = "/deviceManagement/deviceApplicationUnit/deviceApplicationUnitEdit";
   
   /** 查询设备应用单元配置初始化
    * 
    * @param request
    * @exception Exception
    * @pdOid 6abf20c1-d45b-4ff0-aaad-af5a26767650 */
   @RequestMapping(value = "/showDeviceApplicationUnitSearch.do")
   public ModelAndView handleShowDeviceApplicationUnitSearch(HttpServletRequest request) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(DAU_SCH, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查询设备应用单元配置
    * 
    * @param request
    * @pdOid beac707d-bd3d-4570-b361-4dcd201fb16f */
   @RequestMapping(value = "/ajaxDeviceApplicationUnitSearchList.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxFindDeviceApplicationUnitSearchList(HttpServletRequest request) {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(DAU_SCH_LST, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 维护设备应用单元配置
    * 
    * @param request 
    * @param response 
    * @param deviceApplicationUnitId
    * @exception Exception
    * @pdOid 67f0ca83-3917-4322-a65a-d29e0f4e512d */
   @RequestMapping(value = "/ajaxShowDeviceApplicationUnitEdit.do")
   public ModelAndView handleAjaxShowDeviceApplicationUnitEdit(HttpServletRequest request, HttpServletResponse response, String deviceApplicationUnitId) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(DAU_EDT, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查看设备应用单元配置
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid 8760f80e-ef86-4283-9553-55b89e717a1d */
   @RequestMapping(value = "/ajaxShowDeviceApplicationUnitView.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowDeviceApplicationUnitView(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(DAU_VIW, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 保存设备应用单元配置
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid b1ff9489-4a97-4f69-92ac-078a9c6374c2 */
   @RequestMapping(value = "/ajaxSaveDeviceApplicationUnit.do", method = RequestMethod.POST)
   public void handleAjaxSaveDeviceApplicationUnit(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }
   
   /** 删除设备应用单元配置
    * 
    * @param request 
    * @param deviceApplicationUnitIds 
    * @param response
    * @exception Exception
    * @pdOid 98e90e6a-d042-4a1c-bc5c-bbd917bfa536 */
   @RequestMapping(value = "/ajaxDeleteDeviceApplicationUnitByIds.do", method = RequestMethod.POST)
   public void handleAjaxDeleteDeviceApplicationUnitByIds(HttpServletRequest request, String deviceApplicationUnitIds, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }

}